﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Produce.Application.DTO.Input
{
    public class UpdateWorkorderInput
    {

        public long Id { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 类型  （正常、自建工单）
        /// </summary>
        public string? ProductionType { get; set; }
        /// <summary>
        /// 客户  （外键）
        /// </summary>
        public long? Client { get; set; }
        /// <summary>
        /// 产品主数据
        /// </summary>
        public long? Masterdata { get; set; }
        /// <summary>
        /// 产线 （外键）
        /// </summary>
        public long Line { get; set; }
        //// <summary>
        /// 工艺路线
        /// </summary>
        public long Operation { get; set; }
        /// <summary>
        /// 工序进度
        /// </summary>
        public string? Progress { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? ProductionCount { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 是否允许有跳工序
        /// </summary>
        public string? Whether { get; set; }
        /// <summary>
        /// 上传文件
        /// </summary>
        public string? Img { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ProductionDesc { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string? CreatedBy { get; set; }
    }
}
